import Vue from 'vue'
import App from './App'

import myRequest from '@/utils/require.js'
Vue.prototype.$myRequest = myRequest
Vue.prototype.$imgUrl = myRequest.imgUrl
Vue.prototype.$imgSrc = myRequest.imgSrc
Vue.prototype.$url = myRequest.commonUrl
Vue.prototype.$commonpay = myRequest.commonpay
Vue.config.productionTip = false
App.mpType = 'app'

import validate from '@/utils/ys-validate.js'
Vue.prototype.$validate = validate

import store from "./store"
Vue.prototype.$store = store


// 引入api库
import $api from '@/api/index.js'
Vue.prototype.$api = $api

const app = new Vue({
		store,
    ...App
})
app.$mount()
